package com.hakim.wfb.customer.result.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hkfs.fundamental.api.data.DataObjectBase;

import java.util.Date;

/**
 * <p>用户详情返回结果</p>
 *
 * @author YuHuanLong
 */
public class UserView extends DataObjectBase {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String userId;
    /**
     * 登录名
     */
    private String userCode;

    /**
     * 电话
     */
    private String userPhone;
    /**
     * 姓名
     */
    private String userName;
    /**
     * 组织关系代码
     */
    private String userOrg;
    /**
     * 用户级别
     */
    private Integer userLevel;
    /**
     * 用户状态
     */
    private Integer userActStatus;
    /**
     * 激活时间
     */
    private Date userActTime;

    /**
     * 注册时间
     */
    private Date userRegTime;

    /**
     * 是否身份已认证
     */
    private Integer userIdAuth;

    /**
     * 是否钱包已绑定
     */
    private Integer userPacketBound;

    /**
     * 是否交易密码已设置
     */
    private Integer userTradepwdSet;

    /**
     * 推荐人ID
     */
    private String userParent;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserOrg() {
        return userOrg;
    }

    public void setUserOrg(String userOrg) {
        this.userOrg = userOrg;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public Integer getUserActStatus() {
        return userActStatus;
    }

    public void setUserActStatus(Integer userActStatus) {
        this.userActStatus = userActStatus;
    }

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getUserActTime() {
        return userActTime;
    }

    public void setUserActTime(Date userActTime) {
        this.userActTime = userActTime;
    }

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getUserRegTime() {
        return userRegTime;
    }

    public void setUserRegTime(Date userRegTime) {
        this.userRegTime = userRegTime;
    }

    public Integer getUserIdAuth() {
        return userIdAuth;
    }

    public void setUserIdAuth(Integer userIdAuth) {
        this.userIdAuth = userIdAuth;
    }

    public Integer getUserPacketBound() {
        return userPacketBound;
    }

    public void setUserPacketBound(Integer userPacketBound) {
        this.userPacketBound = userPacketBound;
    }

    public Integer getUserTradepwdSet() {
        return userTradepwdSet;
    }

    public void setUserTradepwdSet(Integer userTradepwdSet) {
        this.userTradepwdSet = userTradepwdSet;
    }

    public String getUserParent() {
        return userParent;
    }

    public void setUserParent(String userParent) {
        this.userParent = userParent;
    }
}